package com.roy.springboot.product;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class TopicComsumer {
    @RabbitListener(queues = "chenfl.message2")
    public void topicAccept (String message){
        System.out.println(" 3.9版本的 topic received message : " +message);
    }
}
